package com.zlt.bkparking.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Advertisement {
    private Long adId;

    private String adName;

    private Long auId;

    private String adPath;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date adStart;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date adEnd;

    private Integer adDayCount;

    private Integer adPlaybackTimes;

    private String adDesc;

    private BigDecimal adTotalMoney;

    private Byte adState;

    public Long getAdId() {
        return adId;
    }

    public void setAdId(Long adId) {
        this.adId = adId;
    }

    public String getAdName() {
        return adName;
    }

    public void setAdName(String adName) {
        this.adName = adName == null ? null : adName.trim();
    }

    public Long getAuId() {
        return auId;
    }

    public void setAuId(Long auId) {
        this.auId = auId;
    }

    public String getAdPath() {
        return adPath;
    }

    public void setAdPath(String adPath) {
        this.adPath = adPath == null ? null : adPath.trim();
    }

    public Date getAdStart() {
        return adStart;
    }

    public void setAdStart(Date adStart) {
        this.adStart = adStart;
    }

    public Date getAdEnd() {
        return adEnd;
    }

    public void setAdEnd(Date adEnd) {
        this.adEnd = adEnd;
    }

    public Integer getAdDayCount() {
        return adDayCount;
    }

    public void setAdDayCount(Integer adDayCount) {
        this.adDayCount = adDayCount;
    }

    public Integer getAdPlaybackTimes() {
        return adPlaybackTimes;
    }

    public void setAdPlaybackTimes(Integer adPlaybackTimes) {
        this.adPlaybackTimes = adPlaybackTimes;
    }

    public String getAdDesc() {
        return adDesc;
    }

    public void setAdDesc(String adDesc) {
        this.adDesc = adDesc == null ? null : adDesc.trim();
    }

    public BigDecimal getAdTotalMoney() {
        return adTotalMoney;
    }

    public void setAdTotalMoney(BigDecimal adTotalMoney) {
        this.adTotalMoney = adTotalMoney;
    }

    public Byte getAdState() {
        return adState;
    }

    public void setAdState(Byte adState) {
        this.adState = adState;
    }
}